package com.matrix.draft.sockettest.newprotocoltcp.pojo;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 我的协议对象
 */
@Data
@Accessors(chain = true)
public abstract class MyMessage {
    private int magicNum = 1;
    private byte version = 1;
    private int serializationType = SerializationTypes.JDK.getValue();
    private int affairType = AffairTypes.STRING.getValue();
    private int sequenceId = 1;
    private int len;
    private Object content;
}